home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 11 / Cream of the Crop 11-2.iso / os2 / rsynth1.zip / makefile < prev    next >
Makefile  |  1995-12-18  |  4KB  |  109 lines

  1. # $Id: Makefile.in,v 1.3 1994/11/08 13:30:50 a904209 Exp a904209 $
  2.  
  3. VPATH        = /rsynth-2.0
  4. SRCDIR       = /rsynth-2.0
  5. CC           = gcc
  6. PREFIX       = @prefix@
  7. BIN_DIR      = $(PREFIX)/bin
  8. LIB_DIR      = $d:/emx/lib
  9. LDLIBS       = -lgdbm
  10. XLIBS        = @XLIBS@
  11. CFLAGS       = -g -DOS2 -D__STDC__ -I./
  12. CPPFLAGS     = 
  13. DEFS         = 
  14. PROGS        = say
  15. ADICT        = @ADICT@
  16. BDICT        = @BDICT@
  17. DICTS        = 
  18. INSTALL      = @INSTALL@
  19. INSTALL_PROG = @INSTALL_PROGRAM@
  20. INSTALL_DATA = @INSTALL_DATA@
  21. MESSAGE      = Hello there
  22.  
  23. .c.o :
  24.     $(CC) $(CFLAGS) $(CPPFLAGS) $(DEFS) -c -o $@ $< 
  25.  
  26. all: $(PROGS) $(DICTS)
  27.  
  28. check : all
  29.     (./say -W $(MESSAGE) || ./nasay $(MESSAGE))
  30.  
  31. # SAY_OBJS = say.o saynum.o darray.o ASCII.o text.o english.o trie.o phtoelm.o holmes.o elements.o nsynth.o def_pars.o hplay.o dict.o getarg.o
  32. SAY_OBJS = say.o saynum.o darray.o ASCII.o phones.o text.o english.o trie.o phtoelm.o \
  33.            holmes.o elements.o nsynth.o def_pars.o l2u.o aufile.o  dict.o \
  34.            getarg.o Revision.o 
  35.  
  36. say : $(SAY_OBJS) hplay.o 
  37.     $(CC) -o $@.exe $(LDFLAGS) $(SAY_OBJS) hplay.o $(LDLIBS)
  38.  
  39. nasay : $(SAY_OBJS) naplay.o 
  40.     $(CC) -o $@ $(LDFLAGS) $(SAY_OBJS) naplay.o $(XLIBS) $(LDLIBS)
  41.  
  42. mkdictdb : mkdictdb.o trie.o phones.o 
  43.     $(CC) -o $@ $(LDFLAGS) mkdictdb.o phones.o trie.o $(LDLIBS)
  44.  
  45. dlookup  : dlookup.o phones.o dict.o getarg.o  
  46.     $(CC) -o $@ $(LDFLAGS) dlookup.o phones.o dict.o getarg.o $(LDLIBS)
  47.  
  48. ssay : $(SAY_OBJS) hplay.o 
  49.     $(SE_HOME)/sentinel $(CC) -o $@ $(LDFLAGS) $(SAY_OBJS) hplay.o $(LDLIBS)
  50.  
  51. clean:
  52.     rm -f $(PROGS) $(DICTS) *.o tmp.par core *~ *% ~* ,* .e[cks]1
  53.  
  54. distclean : clean
  55.     rm -f Makefile config.status config.h config.log config.cache hplay.c 
  56.  
  57.  
  58. hplay.o : hplay.c proto.h getargs.h hplay.h 
  59.  
  60. aDict.db : $(ADICT) mkdictdb
  61.     mkdictdb $(ADICT) aDict.db  
  62.  
  63. bDict.db : $(BDICT) mkdictdb
  64.     mkdictdb $(BDICT) bDict.db  
  65.  
  66. install  : $(PROGS) $(DICTS)
  67.     for f in $(PROGS); do \
  68.     $(INSTALL_PROG) $$f $(BIN_DIR); \
  69.     done
  70.     $(INSTALL) -d $(LIB_DIR)
  71.     for f in $(DICTS); do \
  72.     $(INSTALL_DATA) $$f $(LIB_DIR); \
  73.     done
  74.  
  75.  
  76.  
  77. # Now some - semi-automatically generated dependancies
  78. #MM
  79. ASCII.o : ASCII.c ASCII.h 
  80. Revision.o : Revision.c 
  81. au.o : au.c proto.h au.h 
  82. aufile.o : aufile.c proto.h getargs.h l2u.h hplay.h file.h 
  83. darray.o : darray.c proto.h darray.h 
  84. def_pars.o : def_pars.c proto.h getargs.h nsynth.h hplay.h pars.def 
  85. dict.o : dict.c proto.h phones.h phones.def dict.h getargs.h 
  86. dlookup.o : dlookup.c proto.h dict.h phones.h phones.def getargs.h 
  87. elements.o : elements.c elements.h phfeat.h Elements.def 
  88. english.o : english.c 
  89. getarg.o : getarg.c proto.h getargs.h 
  90. holmes.o : holmes.c proto.h nsynth.h elements.h darray.h holmes.h phfeat.h getargs.h 
  91. klatt.o : klatt.c proto.h parwave.h 
  92. l2u.o : l2u.c 
  93. mkdictdb.o : mkdictdb.c proto.h trie.h darray.h phones.h phones.def 
  94. naplay.o : naplay.c proto.h getargs.h hplay.h 
  95. netplay.o : netplay.c proto.h getargs.h hplay.h 
  96. nsynth.o : nsynth.c proto.h nsynth.h 
  97. parwave.o : parwave.c proto.h parwave.h 
  98. phones.o : phones.c phones.h phones.def 
  99. phtoelm.o : phtoelm.c proto.h elements.h phfeat.h darray.h trie.h phtoelm.h \
  100.   hplay.h holmes.h nsynth.h phtoelm.def 
  101. plot.o : plot.c proto.h elements.h 
  102. say.o : say.c proto.h nsynth.h hplay.h dict.h ASCII.h darray.h holmes.h phtoelm.h \
  103.   text.h getargs.h phones.h phones.def file.h say.h 
  104. saynum.o : saynum.c proto.h darray.h say.h 
  105. text.o : text.c proto.h darray.h phtoelm.h text.h say.h 
  106. tidy_elm.o : tidy_elm.c proto.h darray.h elements.h parwave.h phfeat.h phtoelm.h \
  107.   phonemes.def 
  108. trie.o : trie.c proto.h trie.h 
  109.